package com.smartlink.app.dialog;

import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;

import com.smartlink.app.R;

/**
 * Created by Administrator on 2016/7/11.
 */
public class WaitDialog extends AlertDialog {
    protected WaitDialog(Context context) {
        super(context, R.style.BaseDialog);
    }

    public static WaitDialog getWaitDialog(Context context) {
        WaitDialog waitDialog = new WaitDialog(context);
        waitDialog.show();
        return waitDialog;

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.wait_dialog);
    }
}
